// components/navbar/index.js
const app = getApp();
Component({
  properties: {
    isShowkfreply: {
      type: Boolean,
      value: false
    },
    replyTips:{
      type: String,
      value: false
    }
  },
  data: {
    sessionForm: app.globalData.sessionForm ? app.globalData.sessionForm:''
  },
  attached: function () {
    var that = this;
    app.setNavColor(that);
  },
  methods: {
    contactRecord: function (e) {
      var that = this;
      that.setData({
        isShowkfreply:false
      })
      app.contactRecord(e);
    },
    hideTip:function(){
      var that = this;
      that.setData({
        isShowkfreply: false
      })
    }
  }
})